package com.yht.redbook.data.align.domain.mapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: yht
 * @date: 2025/3/11 22:13
 * @description:
 **/
public interface DeleteMapper {

    /**
     * 删除日增量表：笔记发布数数计数变更
     *
     * @param tableNameSuffix
     */
    void batchDeleteDataAlignFollowingCountTempTable(@Param("tableNameSuffix") String tableNameSuffix, @Param("userIds") List<Long> userIds);

    /**
     * 删除日增量表：笔记点赞数数计数变更
     *
     * @param tableNameSuffix
     */
    void batchDeleteDataAlignNoteLikeCountTempTable(@Param("tableNameSuffix") String tableNameSuffix, @Param("noteIds") List<Long> noteIds);

    /**
     * 删除日增量表：笔记收藏数数计数变更
     *
     * @param tableNameSuffix
     */
    void batchDeleteDataAlignNoteCollectCountTempTable(@Param("tableNameSuffix") String tableNameSuffix, @Param("noteIds") List<Long> noteIds);

    /**
     * 删除日增量表：用户粉丝数数计数变更
     *
     * @param tableNameSuffix
     */
    void batchDeleteDataAlignUserFansCountTempTable(@Param("tableNameSuffix") String tableNameSuffix, @Param("userIds") List<Long> userIds);

    /**
     * 删除日增量表：用户点赞数计数变更
     *
     * @param tableNameSuffix
     */
    void batchDeleteDataAlignUserLikeCountTempTable(@Param("tableNameSuffix") String tableNameSuffix, @Param("userIds") List<Long> userIds);

    /**
     * 删除日增量表：用户收藏数计数变更
     *
     * @param tableNameSuffix
     */
    void batchDeleteDataAlignUserCollectCountTempTable(@Param("tableNameSuffix") String tableNameSuffix, @Param("userIds") List<Long> userIds);

    /**
     * 删除日增量表：用户笔记发布数数计数变更
     *
     * @param tableNameSuffix
     */
    void batchDeleteDataAlignUserPublishCountTempTable(@Param("tableNameSuffix") String tableNameSuffix, @Param("userIds") List<Long> userIds);

}
